package org.lanqiao.oa.visitor;

import org.apache.ibatis.io.Resources;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
import org.apache.ibatis.session.SqlSessionFactoryBuilder;
import org.lanqiao.oa.composite.PermissionNode;
import org.lanqiao.oa.dao.PermissionDao;
import org.lanqiao.oa.dto.PermissionDTO;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

//访问者类
public interface PermissionVisitor {

    /**
     * 访问方法
     * @param permissionDto
     */
    void visit(PermissionDTO permissionDto);

}
